package com.hnkywl.sts.entity.htgl;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.util.Date;

/**
 * 说明：物资保供合同明细id和计划汇总明细对应
 * 包:        com.hnkywl.sts.entity.htgl
 * 类描述:    合同定义
 * 修改备注: [说明本次修改内容]
 * 版本:        [v1.0]
 */
@Entity
@Table(name = "T_BIZ_HTJHDZ")
@Where(clause = "deleted!='1'")
public class Htjhdz extends BaseEntity {
    @Id
    @SequenceGenerator(name = "seqHtjhdz", allocationSize = 1, sequenceName = "SEQ_BIZ_HTJHDZ")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqHtjhdz")
    private Long id;

    /**
     * 保供汇总计划明细id
     */
    private Long detailId;

    /**
     *保供合同明细id
     */
    private Long bghtmxid;

    /**
     * 创建时间
     */
    private Date add_date=new Date();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getDetailId() {
        return detailId;
    }

    public Long getBghtmxid() {
        return bghtmxid;
    }

    public void setBghtmxid(Long bghtmxid) {
        this.bghtmxid = bghtmxid;
    }

    public void setDetailId(Long detailId) {
        this.detailId = detailId;
    }

    public Date getAdd_date() {
        return add_date;
    }

    public void setAdd_date(Date add_date) {
        this.add_date = add_date;
    }
}
